<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
	td{		
		font-style		 : doutum;
		font-size 		 : 10pt; 
	}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>가맹점 목록</title>
</head>
<body>
<table align="center">
	<tr style="background-color: #eeeeee">
		<th>가맹코드</th>
		<th>가맹점명</th>
		<th>점장명</th>
		<th>전화번호</th>
		<th colspan="2">주소</th>
	</tr>
	<c:forEach items="${memberList}" var="memberList">
	<tr>
		<td align="center">${memberList.mart_code	 }</td>
		<td align="center">${memberList.mart_name 	 }</td>
		<td align="center">${memberList.mart_owner 	 }</td>
		<td align="center">${memberList.mart_tel 	 }</td>
		<td align="left"  >${memberList.mart_address }</td>
		<td>
			<a href="/member/memberDetail?mart_code=${memberList.mart_code}">상세보기</a>
		</td>
	</tr>
	</c:forEach>	
</table>
</body>
</html>